# -*- coding: utf-8 -*-
"""
Created on Mon Oct  9 08:20:11 2017

@author: Luther
"""

str = 'My moral standing is: 0.98765'
L = []
n = 1
for i in str:
    if i.isdigit():
        break
    n = n + 1
float = float(str[n:])
print(float)
